Runs the inner gear and if it is successful, a commit request is issued to the CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters> transaction. Otherwise a rollback request is issued.

Namespace: Keystone.Clockwork.To.Carbonite
Assembly: Keystone.Clockwork.To.Carbonite (in Keystone.Clockwork.To.Carbonite.dll)

public class MakeTransactional<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters, TInnerGearResult> : DecorateLifecycle<TInnerGearResult> 
where TCarboniteController : CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters> 
where TTransaction : class
This language is not supported or no code example is available.

Type Parameters

TDataContext

The data store context type.

TCarboniteController

The carbonite controller type that will host instances of TDao.

TTransaction

The transaction type to use in persistence operations.

TTransactionCreationParameters

The transaction creation parameters type.

TInnerGearResult

The inner gear result type.

Return Value

Transfer the running result of Decorate<TResult, InnerGear.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono